package com.drugStorage.domain;

import java.util.Date;
import java.util.Set;

/**
 * 药品入库单
 * 
 * @author kirk
 * 
 */

public class InStorageBill {

	private int id;// id

	private Long IDBid;// 单号

	private String state;// 出入库方式

	private User operator;// 操作员

	private Date date;// 操作日期

	private DrugSupplier supplier;// 供应商

	private Set<InDrugList> inDrugLists;// 入库药品列表

	public InStorageBill() {

	}

	public InStorageBill(User operator, DrugSupplier supplier,
			Set<InDrugList> inDrugLists) {

		this.operator = operator;
		this.supplier = supplier;
		this.inDrugLists = inDrugLists;
	}

	public InStorageBill(Set<InDrugList> inDrugLists) {

		this.inDrugLists = inDrugLists;
	}

	public Long getIDBid() {
		return IDBid;
	}

	public void setIDBid(Long bid) {
		IDBid = bid;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}



	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public DrugSupplier getSupplier() {
		return supplier;
	}

	public void setSupplier(DrugSupplier supplier) {
		this.supplier = supplier;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Set<InDrugList> getInDrugLists() {
		return inDrugLists;
	}

	public void setInDrugLists(Set<InDrugList> inDrugLists) {
		this.inDrugLists = inDrugLists;
	}

	public User getOperator() {
		return operator;
	}

	public void setOperator(User operator) {
		this.operator = operator;
	}



}
